﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace LeEdu.MODEL
{
    [DisplayName("课时表")]
    public class Hour
    {
        /// <summary>
        /// 课时表ID
        /// </summary>
        [DisplayName("ID")]
        public int HourId { get; set; }

        [DisplayName("课时类型,0视频，1音频，2flash，3图文，4PPT，5文档")]
        public Nullable<int> HType { get; set; }
        [DisplayName("标题")]
        public string HTitle { get; set; }
        [DisplayName("简介")]
        public string HAbout { get; set; }
        [DisplayName("视频")]

        public string HVideo { get; set; }
        [DisplayName("视频时长")]

        public int HVideoTime { get; set; }
        [DisplayName("建议学习时长")]
        public Nullable<double> HStudyTime { get; set; }
       
        [DisplayName("课程")]
        public Nullable<int> CoursesID { get; set; }
        public virtual Courses course { set; get; }

        [DisplayName("是否学习完成0否1是")]
        public Nullable<int> RIsOrNot { get; set; }
        /// <summary>
        /// 判断是属于那个章节的子项
        /// </summary>
        public Nullable<int> ZJID { get; set; }

        /// <summary>
        /// 试卷ID
        /// </summary>
        public Nullable<int> ExamID { get; set; }
        public virtual Exam eaxm { get; set; }
    }
}
